package com.lmxdawn.api.dnf.entity;

import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StringSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户提现申请
 */

@TableName("t_charge_config")
@Data
public class ChargeConfig {

    @JsonSerialize(using = ToStringSerializer.class)
    @JSONField(serializeUsing = StringSerializer.class)
    private Long id ;

    private String type;

    private String charge;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime = DateUtil.date();


}
